import './index.css'

const Good = ({ name, price, image }) => {
  return (
    <div className="goods">
      <img src={image} alt={name} />
        <div className="goods-info">
          <div className="goods-name">{name}</div>
          <div className="goods-price">￥{price}</div>
        </div>
    </div>
  )
}

export default Good
